/**
 * 
 */
package org.t2.backstage.module.difchannel.mz.model;

import org.banish.sql.core.annotation.Column;
import org.banish.sql.core.annotation.Id;
import org.banish.sql.core.annotation.Table;
import org.banish.sql.core.annotation.Id.Strategy;
import org.gaming.service.repository.annotation.NoCache;
import org.gaming.service.service.redis.OneToOneEntity;
import org.springframework.stereotype.Repository;

/**
 * 
 */
@Repository
@NoCache
@Table(comment = "mz渠道设置", dbAlias = "backdata")
public class MzSetting extends OneToOneEntity {
	@Id(strategy = Strategy.IDENTITY)
	@Column(comment = "数据ID")
	private long id;
	@Column(comment = "渠道ID")
	private String pid = "101";
	@Column(comment = "游戏ID")
	private String gid = "100052";
	@Column(comment = "游戏key")
	private String gameKey = "15satMZRLiOQfbWGFuvVgXhwE";
	@Column(comment = "充值key")
	private String payKey = "1WlqQtx4VbpRPB5oavmk8sIz0XSj7iUE";
	@Column(comment = "登录验证URL")
	private String loginUrl = "https://api.mirmzhy.com/api/com/token/verify";
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getGid() {
		return gid;
	}
	public void setGid(String gid) {
		this.gid = gid;
	}
	public String getGameKey() {
		return gameKey;
	}
	public void setGameKey(String gameKey) {
		this.gameKey = gameKey;
	}
	public String getPayKey() {
		return payKey;
	}
	public void setPayKey(String payKey) {
		this.payKey = payKey;
	}
	public String getLoginUrl() {
		return loginUrl;
	}
	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}
	@Override
	public String redisOwnerKey() {
		return id + "";
	}
}
